package commonAdmin.domain;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * 封装页面传递过来的查询条件
 * 
 * @author Jack
 * @param <T>
 */
public class WebPageSearchCondition<T> {
	private T model;
	private Map<String, ? extends Object> otherCondition = new HashMap<String, Object>();

	public WebPageSearchCondition() {
	}

	public WebPageSearchCondition(T model, Map<String, ? extends Object> otherCondition) {
		this.model = model;
		this.otherCondition = otherCondition;
	}

	public T getModel() {
		return model;
	}

	public void setModel(T model) {
		this.model = model;
	}

	public Map<String,? extends  Object> getOtherCondition() {
		return otherCondition;
	}

	public void setOtherCondition(Map<String, Object> otherCondition) {
		this.otherCondition = otherCondition;
	}

}
